package com.twu.biblioteca;

public class BibliotecaApp {

    public static void main(String[] args) {
        Library library = new Library();
        Options option;
        do {
            library.getMenu().setSelectedOption(library.getMenu().getSelectedOptionFromInput());
            option = library.getMenu().goToSelectedOption();
            do {
                option.setSelectedOption(option.getSelectedOptionFromInput());
                option = option.goToSelectedOption();
            } while (option != null);
        } while (option != null);
    }

}
